gtk4.git
6 years agodemos: Stop using gtk_button_clicked
Matthias Clasen [Sat, 18 May 2019 18:22:12 +0000 (14:22 -0400)]
demos: Stop using gtk_button_clicked

6 years agogtk: Stop using gtk_button_clicked
Matthias Clasen [Sat, 18 May 2019 18:15:54 +0000 (18:15 +0000)]
gtk: Stop using gtk_button_clicked

This function is going away.

6 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Sat, 18 May 2019 15:19:29 +0000 (15:19 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

Closes #1900

See merge request GNOME/gtk!854

6 years agobuild: Convert CSS parser tests to single meson tests
Benjamin Otte [Mon, 13 May 2019 22:41:19 +0000 (00:41 +0200)]
build: Convert CSS parser tests to single meson tests

6 years agoglcontext: Store the updated area in the right place
Benjamin Otte [Sat, 18 May 2019 14:54:27 +0000 (16:54 +0200)]
glcontext: Store the updated area in the right place

We need to store the region *before* adding our own damage area, because
we want to only store the changes of this frame, not the whole history.

So do it in the same place Vulkan does it.

Fixes #1900

6 years agotext: Ensure indexes are ordered properly
Benjamin Otte [Sat, 18 May 2019 14:20:39 +0000 (16:20 +0200)]
text: Ensure indexes are ordered properly

6 years agowidget: Make gtk_widget_render() static
Benjamin Otte [Sat, 18 May 2019 14:11:19 +0000 (16:11 +0200)]
widget: Make gtk_widget_render() static

6 years agoMerge branch 'menubutton-no-button' into 'master'
Matthias Clasen [Sat, 18 May 2019 13:13:48 +0000 (13:13 +0000)]
Merge branch 'menubutton-no-button' into 'master'

Menubutton: don't derive from GtkButton

See merge request GNOME/gtk!853

6 years agoAdapt tests
Matthias Clasen [Sat, 18 May 2019 12:57:41 +0000 (12:57 +0000)]
Adapt tests

We no longer have a clicked signal on GtkMenuButton.

6 years agoUpdate all users for menubutton changes
Matthias Clasen [Sat, 18 May 2019 04:58:46 +0000 (04:58 +0000)]
Update all users for menubutton changes

6 years agoa11y: Adapt to menu button changes
Matthias Clasen [Sat, 18 May 2019 04:58:08 +0000 (04:58 +0000)]
a11y: Adapt to menu button changes

6 years agomenubutton: Don't derive from GtkToggleButton
Matthias Clasen [Sat, 18 May 2019 04:56:30 +0000 (04:56 +0000)]
menubutton: Don't derive from GtkToggleButton

Make GtkMenuButton a widget that has a
toggle button, instead of deriving from it.

We give it icon-name and label properties,
to let people do what they expect to do
with menu buttons.

6 years agogl renderer: Render fallback nodes upside down
Timm Bäder [Sat, 18 May 2019 11:45:19 +0000 (13:45 +0200)]
gl renderer: Render fallback nodes upside down

We stuff both gl-drawn and cairo-drawn textures into the same cache, so
we can't really assume that we need to draw any of them flipped or not.
Fix this by drawing fallback stuff upside down and then using
upside-down vertex data for everything.

Fixes #1897

6 years agogl renderer: Remove an outdated comment
Timm Bäder [Sat, 18 May 2019 07:36:01 +0000 (09:36 +0200)]
gl renderer: Remove an outdated comment

6 years agogl renderer: Fix color matrix shader
Timm Bäder [Sat, 18 May 2019 07:33:38 +0000 (09:33 +0200)]
gl renderer: Fix color matrix shader

We *just* computed a un-premultiplied color, maybe we should also use
it.

6 years agotestsuite: Add a color matrix test case
Timm Bäder [Sat, 18 May 2019 07:22:44 +0000 (09:22 +0200)]
testsuite: Add a color matrix test case

Color matrix nodes with an identity matrix and no offset should still
produce the expected image.

6 years agogl renderer: Skip invisible shadows
Timm Bäder [Sat, 18 May 2019 07:11:59 +0000 (09:11 +0200)]
gl renderer: Skip invisible shadows

6 years agogl renderer: Remove useless ops_offset calls
Timm Bäder [Sat, 18 May 2019 06:55:28 +0000 (08:55 +0200)]
gl renderer: Remove useless ops_offset calls

We add the shadow offset manually.

6 years agoissue templates: reproducers should be written in C
Timm Bäder [Fri, 17 May 2019 06:55:40 +0000 (08:55 +0200)]
issue templates: reproducers should be written in C

I don't want to install a new set of bindings every time someone
attaches a reproducer to a bug. I also don't want to rewrite sait
reproducer in C every time just to eliminate the possibility of broken
bindings.

6 years agosidebarrow: Don't focus on click
Timm Bäder [Fri, 17 May 2019 06:42:34 +0000 (08:42 +0200)]
sidebarrow: Don't focus on click

This is sometimes important, e.g. when saving in the filechooser. We
don't want to move the focus out of the filename entry in that case.

6 years agowidget-factory: Add icon-dropshadow class to large icon
Timm Bäder [Fri, 17 May 2019 06:19:42 +0000 (08:19 +0200)]
widget-factory: Add icon-dropshadow class to large icon

Looks stupid without the shadow.

6 years agofilechooserwidget: Remove unused gobject data
Timm Bäder [Fri, 17 May 2019 05:40:46 +0000 (07:40 +0200)]
filechooserwidget: Remove unused gobject data

6 years agoMerge branch 'fix-non-csd-menu-corners-gtk4' into 'master'
Timm Bäder [Fri, 17 May 2019 13:46:06 +0000 (13:46 +0000)]
Merge branch 'fix-non-csd-menu-corners-gtk4' into 'master'

Adwaita: Don't round the non-csd menu corners (GTK4)

See merge request GNOME/gtk!835

6 years agoMerge branch 'openbsd-pid_get_parenvt-v2' into 'master'
Matthias Clasen [Fri, 17 May 2019 11:55:16 +0000 (11:55 +0000)]
Merge branch 'openbsd-pid_get_parenvt-v2' into 'master'

pid_get_parent: fix potential leak of kp

See merge request GNOME/gtk!844

6 years agopid_get_parent: fix potential leak of kp
Antoine Jacoutot [Fri, 17 May 2019 11:55:16 +0000 (11:55 +0000)]
pid_get_parent: fix potential leak of kp

6 years agoAdd clock freezes to the profile
Matthias Clasen [Thu, 16 May 2019 20:50:31 +0000 (20:50 +0000)]
Add clock freezes to the profile

6 years agoMerge branch 'frame-profiling' into 'master'
Matthias Clasen [Thu, 16 May 2019 20:31:46 +0000 (20:31 +0000)]
Merge branch 'frame-profiling' into 'master'

always record a frame end time when profiling

See merge request GNOME/gtk!850

6 years agoalways record a frame end time when profiling
Matthias Clasen [Thu, 16 May 2019 19:45:30 +0000 (19:45 +0000)]
always record a frame end time when profiling

We need to keep this time, or we may end up with
negative frame intervals.

6 years agoMerge branch 'frame-profiling' into 'master'
Matthias Clasen [Thu, 16 May 2019 19:30:23 +0000 (19:30 +0000)]
Merge branch 'frame-profiling' into 'master'

Redo frame profiling

See merge request GNOME/gtk!849

6 years agoRedo frame profiling
Matthias Clasen [Thu, 16 May 2019 19:08:34 +0000 (19:08 +0000)]
Redo frame profiling

We were adding incomplete frame timings to the
profile, which lead to occasional nonsense
numbers. Instead, only add timings to the profile
once we marked them as complete. This also
gives us an opportunity to add the presentation
time as a marker.

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 16 May 2019 10:42:05 +0000 (12:42 +0200)]
Updated Spanish translation

6 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Wed, 15 May 2019 23:12:49 +0000 (23:12 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

See merge request GNOME/gtk!843

6 years agoflattenlistmodel: Do proper check
Benjamin Otte [Wed, 15 May 2019 20:18:56 +0000 (22:18 +0200)]
flattenlistmodel: Do proper check

If we want the model items to be listmodels, we don't need to do a ==
comparison. We need to do g_type_is_a(). Implementations of listmodels
are obviously fine.

6 years agoprofiler: Prefer CLOCK_MONOTONIC
Matthias Clasen [Wed, 15 May 2019 17:52:12 +0000 (13:52 -0400)]
profiler: Prefer CLOCK_MONOTONIC

This is what g_get_monotonic_time gives us,
after all, and we need to have the same clock
in all our profiler data.

6 years agoquery: Remove private pointer
Timm Bäder [Wed, 15 May 2019 15:53:18 +0000 (17:53 +0200)]
query: Remove private pointer

6 years agofilechooserwidget: Remove some unused struct members
Timm Bäder [Wed, 15 May 2019 05:48:28 +0000 (07:48 +0200)]
filechooserwidget: Remove some unused struct members

6 years agoaccellabel: use a box layout
Timm Bäder [Wed, 15 May 2019 15:08:21 +0000 (17:08 +0200)]
accellabel: use a box layout

Instead of a GtkBox child widget.

6 years agoMerge branch 'wip/carlosg/no-x11-core-events' into 'master'
Matthias Clasen [Wed, 15 May 2019 03:28:15 +0000 (03:28 +0000)]
Merge branch 'wip/carlosg/no-x11-core-events' into 'master'

Drop support for X11 core events

See merge request GNOME/gtk!846

6 years agogdk/x11: Remove XI1 remnant
Carlos Garnacho [Tue, 14 May 2019 23:10:08 +0000 (01:10 +0200)]
gdk/x11: Remove XI1 remnant

This header is not referenced anywhere.

6 years agogdk/x11: Drop GdkDeviceManagerCore
Carlos Garnacho [Tue, 14 May 2019 22:18:38 +0000 (00:18 +0200)]
gdk/x11: Drop GdkDeviceManagerCore

Keep only the XInput2 device manager, which handles "modern" stuff
like scroll and touch.

6 years agogdk/x11: Make XInput2 a mandatory runtime dependency for x11
Carlos Garnacho [Tue, 14 May 2019 22:04:13 +0000 (00:04 +0200)]
gdk/x11: Make XInput2 a mandatory runtime dependency for x11

Besides requiring it at build time, require that the server the client
is running against exposes the XInput2 protocol. We no longer fallback
on a device manager for core events.

6 years agogdk/x11: Drop GDK_CORE_DEVICE_EVENTS environment variable
Carlos Garnacho [Tue, 14 May 2019 22:08:37 +0000 (00:08 +0200)]
gdk/x11: Drop GDK_CORE_DEVICE_EVENTS environment variable

Support for core events will be discontinued, so this doesn't make sense
anymore.

6 years agogdk/x11: Remove gdk_disable_multidevice()
Carlos Garnacho [Tue, 14 May 2019 22:02:48 +0000 (00:02 +0200)]
gdk/x11: Remove gdk_disable_multidevice()

Core events will be discontinued, so this call is meaningless now.

6 years agogdk/x11: Make XInput2 a mandatory build time dependency for x11
Carlos Garnacho [Tue, 14 May 2019 21:48:58 +0000 (23:48 +0200)]
gdk/x11: Make XInput2 a mandatory build time dependency for x11

XInput2 is more than a decade old already, and the input improvements
there (and in every other backend really) make it untenable to have
support for X11 core input events dragging things behind.

6 years agoTry again to fix profiler setup
Matthias Clasen [Tue, 14 May 2019 20:09:44 +0000 (20:09 +0000)]
Try again to fix profiler setup

We were trying to store the profiler_id
in a struct that does not exist at the time.
Store it somewhere else.

6 years agoFix registration of profiler DBus api
Matthias Clasen [Tue, 14 May 2019 11:59:02 +0000 (11:59 +0000)]
Fix registration of profiler DBus api

6 years agoprofiling: Only use frame timings when we have them
Matthias Clasen [Mon, 13 May 2019 19:49:25 +0000 (15:49 -0400)]
profiling: Only use frame timings when we have them

Christian Hergert reported a crash here,
when testing the profiling code.

6 years agocellrendererpixbuf: Avoid creating expander textures...
Timm Bäder [Wed, 8 May 2019 15:04:25 +0000 (17:04 +0200)]
cellrendererpixbuf: Avoid creating expander textures...

... every frame. Create them once when setting the pixbuf instead.

6 years agocellrendererpixbuf: Remove an unused local variable
Timm Bäder [Wed, 8 May 2019 15:02:14 +0000 (17:02 +0200)]
cellrendererpixbuf: Remove an unused local variable

6 years agoMerge branch 'openbsd-pid_get_parent' into 'master'
Matthias Clasen [Mon, 13 May 2019 19:09:26 +0000 (19:09 +0000)]
Merge branch 'openbsd-pid_get_parent' into 'master'

pid_get_parent: fix for OpenBSD

See merge request GNOME/gtk!841

6 years agopid_get_parent: fix for OpenBSD
Antoine Jacoutot [Mon, 13 May 2019 18:47:46 +0000 (20:47 +0200)]
pid_get_parent: fix for OpenBSD

This fixes a long standing bug in pid_get_parent on OpenBSD (which was mine
so... my fault). kp wasn't properly allocated and the function could return
random failures.

6 years agoMerge branch 'modifier-events' into 'master'
Matthias Clasen [Mon, 13 May 2019 17:31:19 +0000 (17:31 +0000)]
Merge branch 'modifier-events' into 'master'

key controller: Don't eat modifier events

Closes #1884

See merge request GNOME/gtk!839

6 years agokey controller: Don't eat modifier events
Matthias Clasen [Mon, 13 May 2019 17:01:51 +0000 (17:01 +0000)]
key controller: Don't eat modifier events

The key controller was consuming key events
for modifier keys, for no entirely convincing
reason, which leads to problems when somebody
actually listens for those, such as the simple
input method does for C-S-u processing.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1884
6 years agoUpdate POTFILES.in
Piotr Drąg [Mon, 13 May 2019 16:59:18 +0000 (18:59 +0200)]
Update POTFILES.in

6 years agoMerge branch 'default-decoration-dialogs' into 'master'
Matthias Clasen [Mon, 13 May 2019 02:39:37 +0000 (02:39 +0000)]
Merge branch 'default-decoration-dialogs' into 'master'

dialog: Use default decoration for non-custom headerbars

See merge request GNOME/gtk!836

6 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Sun, 12 May 2019 23:23:50 +0000 (23:23 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

See merge request GNOME/gtk!838

6 years agorendernodeparser: Move EOF test into parse_declarations()
Benjamin Otte [Sun, 12 May 2019 22:59:15 +0000 (00:59 +0200)]
rendernodeparser: Move EOF test into parse_declarations()

This way, we don't have to duplicate code.

Plus, we can ensure to clear the erroneously parsed value that should
not be used.

6 years agorendernodeparser: Introduce clear_func
Benjamin Otte [Sun, 12 May 2019 22:47:50 +0000 (00:47 +0200)]
rendernodeparser: Introduce clear_func

We want to be able to clear the already parsed contents, because we need
to do that when somebody parses the same property twice.

6 years agodialog: Use default decoration for non-custom headerbars
Florian Müllner [Sun, 12 May 2019 09:58:22 +0000 (09:58 +0000)]
dialog: Use default decoration for non-custom headerbars

There are two ways GTK can add a headerbar to a dialog:

 - the dialog is constructed with the :use-header-bar property

 - all windows should use client-side decorations

In the first case, the headerbar is added by GtkDialog with no
dedicated style class, and in the latter by GtkWindow with the
"default-decoration" style.

As a result, dialogs with plain titlebars can end up with clearly
distinct and inconsistent styles.

To address this, allow headerbars to track whether they should use
the "default-decoration" style and enable it for dialogs.

https://gitlab.gnome.org/GNOME/gtk/merge_requests/836

6 years agoabout dialog: Fix page visibility
Matthias Clasen [Sun, 12 May 2019 18:19:36 +0000 (18:19 +0000)]
about dialog: Fix page visibility

The handling of page visibility broke when the dialog
was ported to GtkStackPage in 52b83ac5530940bf17bc.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1877
6 years agoReinstate the activate-focus keybinding
Matthias Clasen [Sun, 12 May 2019 18:00:19 +0000 (18:00 +0000)]
Reinstate the activate-focus keybinding

Commit 3b62d9c027186fe0fddfb9 was a bit overzealous in
removing not just the public API for activating the focus
widget, but also the plumbing needed to make the keybinding
work.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1879
6 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Sun, 12 May 2019 16:27:47 +0000 (16:27 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

See merge request GNOME/gtk!832

6 years agorendernodeparser: Default color to black
Benjamin Otte [Sun, 12 May 2019 14:01:15 +0000 (16:01 +0200)]
rendernodeparser: Default color to black

Nobody wants to render transparent text.

6 years agocssparser: Make gsk_renderer_consume_url() return a string
Benjamin Otte [Sun, 12 May 2019 13:18:46 +0000 (15:18 +0200)]
cssparser: Make gsk_renderer_consume_url() return a string

We don't want to return a GFile because GFile can't handle can't deal
with data: urls.
That makes the code a bit more complicated that doesn't deal with those
URLs, but it makes the other code actually work.

GtkCssImageUrl also now decodes data urls immediately instead of only at
the first load. So don't use data urls if you care about performance.

6 years agorendernodeparser: Use parser blocks
Benjamin Otte [Sun, 12 May 2019 11:14:50 +0000 (13:14 +0200)]
rendernodeparser: Use parser blocks

Instead of trying to do error handling manually, use the semicolon
blocks feature provided by GtkCssParser.

6 years agocssparser: Don't allow commit_token() on block EOF
Benjamin Otte [Fri, 10 May 2019 15:09:59 +0000 (17:09 +0200)]
cssparser: Don't allow commit_token() on block EOF

When we're at the end of a block and gtk_css_parser_get_token() returns
NULL, gtk_css_parser_commit_token() still consumed the next token.

It does not anymore.

This does not affect the CSS parser, but it exposes issues with the
render parser, which previously just consumed too many closing } tokens
in the past.

6 years agotestsuite: Stop using g_test_bug()
Benjamin Otte [Fri, 10 May 2019 13:00:12 +0000 (15:00 +0200)]
testsuite: Stop using g_test_bug()

The calls used old bugzilla URLs and nobody cared about that.
So apparently they are very unused.

There's also a potential conflict between gitlab and bugzilla URLs and
what base bug to use there.

The old usages have been converted to comments.

6 years agonode-editor: Report all errors in tooltip
Benjamin Otte [Fri, 10 May 2019 03:09:12 +0000 (05:09 +0200)]
node-editor: Report all errors in tooltip

Don't just report the first one.

6 years agonode-editor: Don't remove all text tags when saving
Benjamin Otte [Fri, 10 May 2019 02:55:36 +0000 (04:55 +0200)]
node-editor: Don't remove all text tags when saving

6 years agotestsuite: Don't die on the first error
Benjamin Otte [Thu, 9 May 2019 13:13:03 +0000 (15:13 +0200)]
testsuite: Don't die on the first error

Continue running the test, just mark it as a failure.

6 years agorendernodeparser: Parse images differently
Benjamin Otte [Thu, 9 May 2019 01:56:25 +0000 (03:56 +0200)]
rendernodeparser: Parse images differently

Instead of encoding the raw data, encode the full image to a PNG.
And instead of stuffing that encoding into a string, use a full
data: url.
And then remove the width and height properties, because they're now
implicitly included in the data.
And then change the parser to match.
And because the parser now parses regular urls on top of data: urls, we
can now load any random file.

6 years agocss: Add data URL parsing to images
Benjamin Otte [Thu, 9 May 2019 01:11:48 +0000 (03:11 +0200)]
css: Add data URL parsing to images

6 years agocss: Add gtk_css_data_url_parse()
Benjamin Otte [Thu, 9 May 2019 01:04:21 +0000 (03:04 +0200)]
css: Add gtk_css_data_url_parse()

This surprisingly decodes data URLs.

6 years agorendernode: Set EXTEND_PAD when drawing textures
Benjamin Otte [Fri, 10 May 2019 00:54:24 +0000 (02:54 +0200)]
rendernode: Set EXTEND_PAD when drawing textures

6 years agoAdwaita: Don't round the non-csd menu corners
nana-4 [Sun, 12 May 2019 08:40:47 +0000 (17:40 +0900)]
Adwaita: Don't round the non-csd menu corners

Otherwise, the menu will have ugly black corners.

See https://gitlab.gnome.org/GNOME/gtk/issues/1661

6 years agoMerge branch 'ci-master-fedora-30' into 'master'
Christoph Reiter [Fri, 10 May 2019 14:19:16 +0000 (14:19 +0000)]
Merge branch 'ci-master-fedora-30' into 'master'

CI: update docker image to Fedora 30

See merge request GNOME/gtk!802

6 years agoCI: update docker image to fedora 30
Christoph Reiter [Tue, 30 Apr 2019 13:15:47 +0000 (15:15 +0200)]
CI: update docker image to fedora 30

So we don't have to build glib as a subproject.

6 years agosettings: Update docs
Matthias Clasen [Wed, 8 May 2019 21:45:17 +0000 (21:45 +0000)]
settings: Update docs

We no longer create settings on demand.

6 years agocss provider: Stop mentioning key themes
Matthias Clasen [Wed, 8 May 2019 21:40:29 +0000 (21:40 +0000)]
css provider: Stop mentioning key themes

We no longer do this.

6 years agoglrenderer: Ensure current context for debug stuff
Benjamin Otte [Wed, 8 May 2019 16:18:11 +0000 (18:18 +0200)]
glrenderer: Ensure current context for debug stuff

6 years agorendernode: Parse repeat nodes
Benjamin Otte [Wed, 8 May 2019 15:28:50 +0000 (17:28 +0200)]
rendernode: Parse repeat nodes

6 years agonode-editor: Never scale nodes up
Benjamin Otte [Wed, 8 May 2019 15:17:51 +0000 (17:17 +0200)]
node-editor: Never scale nodes up

Scaling down is fine so one can see the nodes, but scaling up just
makes the nodes wrong for no reason at all.

6 years agoDrop the public profiler api
Matthias Clasen [Wed, 8 May 2019 16:58:11 +0000 (16:58 +0000)]
Drop the public profiler api

I meant to do this before merging the profiler
support. Somehow the commit got lost.

6 years agoProfiler: drop the public api
Matthias Clasen [Wed, 8 May 2019 16:57:34 +0000 (16:57 +0000)]
Profiler: drop the public api

6 years agoprofiler: Update the D-Bus interface name
Matthias Clasen [Wed, 8 May 2019 16:49:47 +0000 (16:49 +0000)]
profiler: Update the D-Bus interface name

Sysprof is bumping its name to Sysprof3, so
lets change to that before this gets used.

6 years agoCorrect theme loading docs
Matthias Clasen [Wed, 8 May 2019 14:47:08 +0000 (14:47 +0000)]
Correct theme loading docs

The docs were failing to mention the VARIANT.

6 years agocss provider: Remove outdated version check
Matthias Clasen [Wed, 8 May 2019 14:33:23 +0000 (14:33 +0000)]
css provider: Remove outdated version check

When looking for versioned theme files, we were
looking for directories names gtk-4.x for x
bigger than 14, which mades sense for GTK 3,
but we are starting out at 0 again, so remove
this check.

6 years agoMerge branch 'inspector-css' into 'master'
Matthias Clasen [Wed, 8 May 2019 04:01:45 +0000 (04:01 +0000)]
Merge branch 'inspector-css' into 'master'

Inspector css

See merge request GNOME/gtk!830

6 years agoImprove the action editor more
Matthias Clasen [Wed, 8 May 2019 03:34:14 +0000 (03:34 +0000)]
Improve the action editor more

6 years agoinspector: Fix showing the frame clock
Matthias Clasen [Wed, 8 May 2019 02:44:24 +0000 (02:44 +0000)]
inspector: Fix showing the frame clock

We want to go to the object, not just select it
in the list (which does not even contain frame clocks).

6 years agoMerge branch 'inspector-css' into 'master'
Matthias Clasen [Wed, 8 May 2019 02:27:31 +0000 (02:27 +0000)]
Merge branch 'inspector-css' into 'master'

inspector: Port actions to a list view

See merge request GNOME/gtk!829

6 years agoinspector: Port actions to a list view
Matthias Clasen [Wed, 8 May 2019 02:20:18 +0000 (02:20 +0000)]
inspector: Port actions to a list view

6 years agogdk/gdkprofiler.c: Don't include unistd.h unconditionally
Chun-wei Fan [Wed, 8 May 2019 00:55:03 +0000 (17:55 -0700)]
gdk/gdkprofiler.c: Don't include unistd.h unconditionally

unistd.h is not universally available, so only include it when it can be
found during the configure stage.

6 years agobuild: Fix
Benjamin Otte [Tue, 7 May 2019 23:11:27 +0000 (01:11 +0200)]
build: Fix

I did somethig wrong there. Whoops

6 years agocsstokenizer: Add more testcases
Benjamin Otte [Tue, 7 May 2019 18:47:20 +0000 (20:47 +0200)]
csstokenizer: Add more testcases

6 years agocsstokenizer: Handle backslash at end of document
Benjamin Otte [Tue, 7 May 2019 06:56:28 +0000 (08:56 +0200)]
csstokenizer: Handle backslash at end of document

Testcases included.

6 years agoMerge branch 'inspector-css' into 'master'
Matthias Clasen [Tue, 7 May 2019 22:21:02 +0000 (22:21 +0000)]
Merge branch 'inspector-css' into 'master'

inspector: Style the property list

See merge request GNOME/gtk!828

6 years agoinspector: Style the property list
Matthias Clasen [Tue, 7 May 2019 22:04:41 +0000 (22:04 +0000)]
inspector: Style the property list

Make the property list look more like a list.

6 years agoMerge branch 'gdk-win32-unimplement-vfuncs' into 'master'
Matthias Clasen [Tue, 7 May 2019 18:57:44 +0000 (18:57 +0000)]
Merge branch 'gdk-win32-unimplement-vfuncs' into 'master'

GdkSurface - Don't call unimplemented NULL set_startup_id() vfunc on Win32

See merge request GNOME/gtk!825

6 years agoemoji chooser: Name the idle
Matthias Clasen [Tue, 7 May 2019 18:41:22 +0000 (18:41 +0000)]
emoji chooser: Name the idle

We recently added an idle that does quite a bit of work.
It should have a name.